"use client";

import NavItemLink from "./nav-item-link";
import ForAuth from "./for-auth";

export default function RightLogin({ className }: { className?: string }) {
  return (
    <ForAuth when="unauthed">
      <NavItemLink className={className} href="/login">登录</NavItemLink>
    </ForAuth>
  );
}
